package ${package.ServiceImpl};

import ${package.Entity}.${entity};
import ${package.Mapper}.${table.mapperName};
import ${package.Service}.${table.serviceName};
import ${superServiceImplClassPackage};
import com.jianmu.bean.base.PageVO;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jianmu.config.mybatis.EnhanceServiceImpl;
import org.apache.commons.collections4.CollectionUtils;
/**
* @author ${author}
* @since ${date}
*/
@Service
public class ${table.serviceImplName} extends EnhanceServiceImpl<${table.mapperName}, ${entity}> implements ${table.serviceName} {

@Autowired
public ${table.serviceImplName}(RedisTemplate
<String, Object> redis, RedissonClient redissonClient){
super(redis,redissonClient);
}

@Override
public PageVO<${entity}> page(PageParam param){
return PageVO.convert(page(new Page<>(param.getCurrent(), param.getSize()), new LambdaQueryWrapper<>()));
}

}